﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PMS.SANY.MonOrderServer.Models
{
    /// <summary>
    /// 生产进度反馈请求参数
    /// </summary>
    public class MonProductionStatus
    {
        /// <summary>
        /// 请求ID
        /// </summary>
        public string reqId { set; get; }
        /// <summary>
        /// 系统编码
        /// </summary>
        public string reqSys { set; get; }
        /// <summary>
        /// 工厂编号
        /// </summary>
        public string Facility { set; get; }
        /// <summary>
        /// 订单号
        /// </summary>
        public string WipOrderNo { set; get; }
        /// <summary>
        /// 顺序号
        /// </summary>
        public string SequenceNo { set; get; }
        /// <summary>
        /// 工序号
        /// </summary>
        public string OprSequenceNo { set; get; }
        /// <summary>
        /// 实际开始时间
        /// ProgressType=0、2必填
        /// </summary>
        public string ActualStartDate { set; get; }
        /// <summary>
        /// 实际结束时间
        /// ProgressType=1、3必填
        /// </summary>
        public string ActualCompleteDate { set; get; }
        /// <summary>
        /// 设备编号
        /// </summary>
        public string DeviceID { set; get; }
        /// <summary>
        /// 工序报工类型
        /// </summary>
        public string ProgressType { set; get; }
        /// <summary>
        /// 合格数量
        /// </summary>
        public decimal Quantity { set; get; }
        /// <summary>
        /// 不合格数量
        /// </summary>
        public decimal NGQuantity { set; get; }
        /// <summary>
        /// 报工员工号
        /// </summary>
        public string EmployeeNo { set; get; }
        /// <summary>
        /// 产品物料号
        /// </summary>
        public string ProductNo { set; get; }

        /// <summary>
        /// 产品序列号
        /// </summary>
        public string SerialNo { set; get; }

        /// <summary>
        /// 预留参数1
        /// </summary>
        public string paramRsrv1 { get; set; }

        /// <summary>
        /// 预留参数2
        /// </summary>
        public string paramRsrv2 { get; set; }

        /// <summary>
        /// 预留参数3
        /// </summary>
        public string paramRsrv3 { get; set; }


        /// <summary>
        /// 预留参数4
        /// </summary>
        public string paramRsrv4 { get; set; }

        /// <summary>
        /// 预留参数5
        /// </summary>
        public string paramRsrv5 { get; set; }

        /// <summary>
        /// 关重件信息
        /// </summary>
        public List<MonKayaccessory> keyaccessoryList { set; get; }
    }
}
